//package callnumber.gtdev5.com.photoVault.activity;
//
//import android.os.Bundle;
//import android.support.v7.widget.LinearLayoutManager;
//import android.support.v7.widget.RecyclerView;
//import android.view.View;
//import android.widget.ImageView;
//import android.widget.RelativeLayout;
//import android.widget.TextView;
//
//import com.chad.library.adapter.base.BaseQuickAdapter;
//
//import org.litepal.crud.DataSupport;
//
//import java.util.List;
//
//import butterknife.BindView;
//import butterknife.ButterKnife;
//import callnumber.gtdev5.com.photoVault.R;
//import callnumber.gtdev5.com.photoVault.adapter.VipListAdapter;
//import callnumber.gtdev5.com.photoVault.base.BaseActivity;
//import callnumber.gtdev5.com.photoVault.bean.Gds;
//
//public class VipPayActivity extends BaseActivity {
//
//    @BindView(R.id.head_back)
//    ImageView headBack;
//    @BindView(R.id.head_titles)
//    TextView headTitles;
//    @BindView(R.id.head_center_title)
//    TextView headCenterTitle;
//    @BindView(R.id.head_right_img)
//    ImageView headRightImg;
//    @BindView(R.id.head_right_title)
//    TextView headRightTitle;
//    @BindView(R.id.head_relative)
//    RelativeLayout headRelative;
//    @BindView(R.id.img_title)
//    ImageView imgTitle;
//    @BindView(R.id.recy_vip)
//    RecyclerView recyVip;
//    List<Gds> gds;
//   VipListAdapter adapter;
//    @Override
//    protected int getLayouId() {
//        return R.layout.activity_vip_pay;
//    }
//
//    @Override
//    protected void initViews(Bundle savedInstanceState) {
//      headBack.setImageResource(R.mipmap.back);
//      headTitles.setText("会员充值");
//    }
//
//    @Override
//    protected void initDatas() {
//       gds= DataSupport.findAll(Gds.class);
//       if (gds!=null){
//           adapter=new VipListAdapter(R.layout.item_viplist,gds);
//           recyVip.setLayoutManager(new LinearLayoutManager(this));
//           recyVip.setAdapter(adapter);
//       }
//    }
//
//    @Override
//    protected void initAction() {
//        headBack.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                finish();
//            }
//        });
//        adapter.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() {
//         @Override
//          public void onItemClick(BaseQuickAdapter adapter, View view, int position) {
//             Gds gd=gds.get(position);
//             pay(gd.getGid());
//         }
//     });
//    }
//
//
//    @Override
//    protected void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        // TODO: add setContentView(...) invocation
//        ButterKnife.bind(this);
//    }
//}
